import request from '@/utils/request'

export function getHealthCartPageList(data) {
    return request({
      url: '/food/healthCart/getHealthCartPageList',
      method: 'post',
      data
    })
}

export function addOrUpdateHealthCartInfo(data) {
    return request({
      url: '/food/healthCart/addOrUpdateHealthCartInfo',
      method: 'post',
      data
    })
}

export function deleteHealthCartById(data) {
    return request({
      url: '/food/healthCart/deleteHealthCartById',
      method: 'post',
      data
    })
}

export function autoRecognitionPhoto(query) {
    return request({
      url: '/food/healthCart/autoRecognitionPhoto',
      method: 'get',
      params: query
    })
}